package com.atguigu.gmall.cart.api;

import com.atguigu.gmall.cart.entity.CartItem;
import com.atguigu.gmall.common.bean.ResponseVo;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

public interface GmallCartApi {
    @PostMapping("queryCheckedCartItemsByUserId/{userId}")
    public ResponseVo<List<CartItem>> queryCheckedCartItemsByUserId(@PathVariable("userId")Long userId);
}
